package com.xxx.entity.query;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

@Data
public class PolicyQuery extends PageQuery{
    @Schema(description = "新闻政策标题")
    private String policyTitle;
    @Schema(description = "新闻政策Id")
    private Integer policyId;
    @Schema(description = "新闻政策日期(年月日)")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate policyDate;
}
